<html>
  <head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8">

    <title></title>

    <link href='http://libs.baidu.com/bootstrap/2.3.2/css/bootstrap.css' rel='stylesheet'>
    <style type='text/css'>.title {
  text-align: center;
  color: blank;
}

.controller, .list {
  width: 900px;
  border: 1px solid;
  margin: 20px auto 40 auto;
}

.list {
  padding-top: 20px;
}

.list .helpers {
  padding: 20px;
}

.controller-title {
  text-align: center;
}

.action {
  margin-top: 40px;
  padding: 20px 40px 20px 20px;
}

.about {
  padding-left: 20px;
}

.no_print {
  opacity: 0.4;
}

.no_opacity {
  opacity: 1;
}

@media print {
  .no_print {
    display: none;
  }
}</style>

    <script type='text/javascript' src='http://code.jquery.com/jquery-2.0.3.min.js'></script>
    <script type='text/javascript'>$(function(){
  var no_print_class = 'no_print';
  var iframe = $('.helper_iframe')[0];
  var idoc = iframe.contentDocument;


  // 设置勾选内容的打印及显示
  // 添加或移除no_print类
  $('.print_selector').change(function(event){
    var $this = $(this);
    var $a = $this.next();
    var $top = $a.parent();
    var $target_el = $($a.attr('href'));

    if ($this.is(":checked")) {
      $top.removeClass(no_print_class)
      $target_el.removeClass(no_print_class);
    } else {
      $top.addClass(no_print_class)
      $target_el.addClass(no_print_class);
    }
  });

  
  // 下载保存勾选的内容
  $("a.save_to_file").click(function(event){
    var head = document.head.innerHTML;
    idoc.body.innerHTML = document.body.innerHTML;

    $(idoc.body).find("." + no_print_class).remove();

    var html = '<html><head>';
    html += head + '</head><body>';
    html += idoc.body.innerHTML + '</body></html>';

    window.open('data:application/octet-stream;charset=utf-8,' + encodeURIComponent(html));
    return false;
  });


  // 合并文档
  $("#merge_doc").change(function(event){
    var fr = new FileReader();

    fr.onloadend = function(e){
      var $body = $(document.body);
      idoc.write(this.result);

      var menus = $(idoc.body).find(".list>ul>li");
      var controllers = $(idoc.body).find(".controller");

      $body.find(".list>ul").append(menus);
      $body.append(controllers);
    }

    fr.readAsText(this.files[0]);
  });
});
</script>
  </head>

  <body>
    <h1 class='title'></h1>
    <div class='list'>
  <strong class='no_print no_opacity about'>* 被勾选的内容才会被打印、保存</strong>

  <div class='helpers'>
    <label for='merge_doc' class='btn no_print no_opacity'>合并文档...</label>
    <input type='file' id='merge_doc' style='display:none'/>

    <a href='#' class='no_print no_opacity btn save_to_file'>保存到新文件</a>

    <iframe class='helper_iframe' style='display:none'></iframe>
  </div>

  <ul>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-101a96c16f61117d77e2f8080a168de1'>
          品牌商/经销商管理
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-101a96c16f61117d77e2f8080a168de1-update_me'>
                更新企业资料
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-101a96c16f61117d77e2f8080a168de1-companies'>
                品牌列表
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-101a96c16f61117d77e2f8080a168de1-add_company'>
                添加品牌
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-101a96c16f61117d77e2f8080a168de1-apply_co_companies'>
                申请品牌合作
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-101a96c16f61117d77e2f8080a168de1-update_apply'>
                更新申请状态
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-101a96c16f61117d77e2f8080a168de1-get_directors'>
                获取部门主管信息
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-9710755c42ac38c175650632ef05297b'>
          多方用户验证
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-9710755c42ac38c175650632ef05297b-cgj'>
                窗管家验证用户
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-7e650eccfa2232dde40e8e31acec10d7'>
          线索管理
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-7e650eccfa2232dde40e8e31acec10d7-index'>
                线索列表
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-7e650eccfa2232dde40e8e31acec10d7-create'>
                创建线索
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-7e650eccfa2232dde40e8e31acec10d7-destroy'>
                关闭线索
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-7e650eccfa2232dde40e8e31acec10d7-assign'>
                分配线索
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-7e650eccfa2232dde40e8e31acec10d7-update_me'>
                更新线索
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-7e650eccfa2232dde40e8e31acec10d7-add_remark'>
                备注
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-29e1471812ff9d60ff8484554bc45f8f'>
          客户管理
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-29e1471812ff9d60ff8484554bc45f8f-index'>
                客户列表
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-29e1471812ff9d60ff8484554bc45f8f-update'>
                更新客户
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-29e1471812ff9d60ff8484554bc45f8f-create'>
                创建客户
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-adf7b3391e3f2801e71381e41dc39ae0'>
          订单管理
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-adf7b3391e3f2801e71381e41dc39ae0-index'>
                订单列表
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-adf7b3391e3f2801e71381e41dc39ae0-create'>
                订单创建／一键下单
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-adf7b3391e3f2801e71381e41dc39ae0-update_estimated_total'>
                更新产品预估价格
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-adf7b3391e3f2801e71381e41dc39ae0-update_rebate'>
                更新返利点
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-adf7b3391e3f2801e71381e41dc39ae0-fetch_users'>
                搜索师傅
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-5e9fa7442c47382e6e582ddb75dcf502'>
          预备信息
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-5e9fa7442c47382e6e582ddb75dcf502-index'>
                获取
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-ea2da9d64ef3f2c2ddc96b4422dd8b57'>
          渠道策略管理
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-ea2da9d64ef3f2c2ddc96b4422dd8b57-index'>
                渠道策略列表
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-ea2da9d64ef3f2c2ddc96b4422dd8b57-update'>
                创建渠道策略
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-ea2da9d64ef3f2c2ddc96b4422dd8b57-create'>
                创建渠道策略
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-11af31b61175d583c69cda9883524080'>
          渠道管理
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-11af31b61175d583c69cda9883524080-index'>
                渠道列表
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-11af31b61175d583c69cda9883524080-create'>
                添加新渠道
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-4e716da1e41370f7fe481b49b6449058'>
          注册
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-4e716da1e41370f7fe481b49b6449058-create'>
                说明
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-64ca335c0226a2cfe5938392f56efb13'>
          登录
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-64ca335c0226a2cfe5938392f56efb13-create'>
                说明
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-06b3fe9b6ba3aacd8bbf16d1d5ddb91a'>
          门店管理
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-06b3fe9b6ba3aacd8bbf16d1d5ddb91a-index'>
                门店列表
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-06b3fe9b6ba3aacd8bbf16d1d5ddb91a-create'>
                创建门店
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-9daca15881416fa59b7f794f1c4a0bf5'>
          策略管理
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-9daca15881416fa59b7f794f1c4a0bf5-index'>
                策略列表
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-9daca15881416fa59b7f794f1c4a0bf5-update'>
                更新策略
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-9daca15881416fa59b7f794f1c4a0bf5-create'>
                创建策略
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-9daca15881416fa59b7f794f1c4a0bf5-show'>
                查看单个策略
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-6b342322163d86b4208fd7448a6994ab'>
          财务管理
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-6b342322163d86b4208fd7448a6994ab-index'>
                提成列表
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-6b342322163d86b4208fd7448a6994ab-update'>
                更新提成
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-6b342322163d86b4208fd7448a6994ab-show'>
                单个提成详情
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-6b342322163d86b4208fd7448a6994ab-pay'>
                付款
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-23a5cccbab75147cd0c13b63d67c5a28'>
          投诉 反馈
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-23a5cccbab75147cd0c13b63d67c5a28-create'>
                新建
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-90e2f856c66228f0d33fed3490cd9e31'>
          获取企业信息
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-90e2f856c66228f0d33fed3490cd9e31-update_cgj'>
                同步更新品牌 host: http://192.168.0.164:7200/
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-90e2f856c66228f0d33fed3490cd9e31-gen_account_user'>
                生成企业用户
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-563d65cf6d46747a8933737a6d260c19'>
          客户同步
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-563d65cf6d46747a8933737a6d260c19-create'>
                创建客户 host: http://192.168.0.164:7200/
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-ad1b417c30ed8f8bfc011497fe998b33'>
          订单同步
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-ad1b417c30ed8f8bfc011497fe998b33-update_cgj'>
                同步更新 host: http://192.168.0.164:7200/
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-edd0ba4c04c9ea27e2411f5b53cc0d95'>
          用户管理
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-edd0ba4c04c9ea27e2411f5b53cc0d95-index'>
                用户列表
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-edd0ba4c04c9ea27e2411f5b53cc0d95-update'>
                用户更新
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-edd0ba4c04c9ea27e2411f5b53cc0d95-create'>
                用户创建
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-edd0ba4c04c9ea27e2411f5b53cc0d95-statistics'>
                订单统计
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-edd0ba4c04c9ea27e2411f5b53cc0d95-destroy'>
                用户删除
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-edd0ba4c04c9ea27e2411f5b53cc0d95-update_me'>
                更新我的基本资料
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-edd0ba4c04c9ea27e2411f5b53cc0d95-update_password'>
                更新密码
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-edd0ba4c04c9ea27e2411f5b53cc0d95-reset_password'>
                重置密码
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-edd0ba4c04c9ea27e2411f5b53cc0d95-bank_cards'>
                我的银行卡列表
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-edd0ba4c04c9ea27e2411f5b53cc0d95-add_bank_card'>
                添加银行卡
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-edd0ba4c04c9ea27e2411f5b53cc0d95-update_bank_card'>
                更新银行卡
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-edd0ba4c04c9ea27e2411f5b53cc0d95-update_me_wx'>
                小程序更新我的基本资料
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-f429bda61462e0a236819d3f9bfaff90'>
          验证码
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-f429bda61462e0a236819d3f9bfaff90-create'>
                获取
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-f429bda61462e0a236819d3f9bfaff90-valid'>
                验证
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-4b8cc15bbc50cbfc1a163c20231e6c56'>
          钱包
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-4b8cc15bbc50cbfc1a163c20231e6c56-me'>
                我的钱包
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-4b8cc15bbc50cbfc1a163c20231e6c56-recharge'>
                充值
              </a>
            </li>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-4b8cc15bbc50cbfc1a163c20231e6c56-withdraw'>
                提现
              </a>
            </li>
          
        </ul>

      </li>
    
      <li>
        <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
        <a href='#controller-8048d0a47743742dc33f83d16352ecbf'>
          微信
        </a>

        <ul class='ul-controller'>
          
            

            <li>
              <input type='checkbox' class='no_print no_opacity print_selector' checked=1 />
              <a href='#action-8048d0a47743742dc33f83d16352ecbf-auth'>
                授权
              </a>
            </li>
          
        </ul>

      </li>
    
  </ul>
</div>
    

    
  <div class='controller' id='controller-101a96c16f61117d77e2f8080a168de1'>
    <h2 class='controller-title'>品牌商/经销商管理</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-101a96c16f61117d77e2f8080a168de1-update_me'>

        <h4>功能说明</h4>
        <p class='about text-info'>更新企业资料</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/accounts/update_me</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>account[address]:</td>
          
            <td>String</td>
          

          <td>
            企业地址

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>account[logo]:</td>
          
            <td>File</td>
          

          <td>
            企业logo

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            更新成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-101a96c16f61117d77e2f8080a168de1-companies'>

        <h4>功能说明</h4>
        <p class='about text-info'>品牌列表</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/accounts/companies</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            请求成功，等待审核

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-even'
          id='action-101a96c16f61117d77e2f8080a168de1-add_company'>

        <h4>功能说明</h4>
        <p class='about text-info'>添加品牌</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/accounts/add_company</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>company[name]:</td>
          
            <td>String</td>
          

          <td>
            品牌名

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>company[logo]:</td>
          
            <td>File</td>
          

          <td>
            品牌logo

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>admin[name]:</td>
          
            <td>String</td>
          

          <td>
            管理员姓名

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>admin[mobile]:</td>
          
            <td>String</td>
          

          <td>
            管理员手机号

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            请求成功，等待审核

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-101a96c16f61117d77e2f8080a168de1-apply_co_companies'>

        <h4>功能说明</h4>
        <p class='about text-info'>申请品牌合作</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/accounts/apply_co_companies</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>company_ids:</td>
          
            <td>Array</td>
          

          <td>
            品牌商数组

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            请求成功，等待审核

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-even'
          id='action-101a96c16f61117d77e2f8080a168de1-update_apply'>

        <h4>功能说明</h4>
        <p class='about text-info'>更新申请状态</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/accounts/update_apply</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>apply_id:</td>
          
            <td>Integer</td>
          

          <td>
            合作请求的id

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>state:</td>
          
            <td>Integer</td>
          

          <td>
            状态(1|-1)

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            更新成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-101a96c16f61117d77e2f8080a168de1-get_directors'>

        <h4>功能说明</h4>
        <p class='about text-info'>获取部门主管信息</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/accounts/get_directors</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>t:</td>
          
            <td>String</td>
          

          <td>
            *account code

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>role:</td>
          
            <td>String</td>
          

          <td>
            *saler cs acct operator planinger

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-9710755c42ac38c175650632ef05297b'>
    <h2 class='controller-title'>多方用户验证</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-9710755c42ac38c175650632ef05297b-cgj'>

        <h4>功能说明</h4>
        <p class='about text-info'>窗管家验证用户</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/auth/cgj</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      <tr>
        <td>error</td>
        <td>String</td>
        <td>错误标识</td>
      </tr>

      <tr>
        <td>error_description</td>
        <td>String</td>
        <td>错误具体描述</td>
      </tr>
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      <tr>
        <td>error</td>
        <td>String</td>
        <td>错误标识</td>
      </tr>

      <tr>
        <td>error_description</td>
        <td>String</td>
        <td>错误具体描述</td>
      </tr>
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-7e650eccfa2232dde40e8e31acec10d7'>
    <h2 class='controller-title'>线索管理</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-7e650eccfa2232dde40e8e31acec10d7-index'>

        <h4>功能说明</h4>
        <p class='about text-info'>线索列表</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/clues</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>type:</td>
          
            <td>String</td>
          

          <td>
            assign被指定

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>q:</td>
          
            <td>String</td>
          

          <td>
            搜索内容

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>page:</td>
          
            <td>Integer</td>
          

          <td>
            页码

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>list:</td>
          
            <td>Hash</td>
          

          <td>
            {{name, mobile, role}...}

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>total:</td>
          
            <td>Integer</td>
          

          <td>
            总数

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-7e650eccfa2232dde40e8e31acec10d7-create'>

        <h4>功能说明</h4>
        <p class='about text-info'>创建线索</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/clues</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>clue[name]:</td>
          
            <td>String</td>
          

          <td>
            姓名

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>clue[mobile]:</td>
          
            <td>String</td>
          

          <td>
            手机号

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>clue[address]:</td>
          
            <td>String</td>
          

          <td>
            地址

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>clue[pound]:</td>
          
            <td>Integer</td>
          

          <td>
            优先级

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>clue[remark]:</td>
          
            <td>String</td>
          

          <td>
            备注

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            创建成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-even'
          id='action-7e650eccfa2232dde40e8e31acec10d7-destroy'>

        <h4>功能说明</h4>
        <p class='about text-info'>关闭线索</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/clues/:id</p>

        <h4>请求方法</h4>
        <p class='about text-info'>DELETE</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            删除成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-7e650eccfa2232dde40e8e31acec10d7-assign'>

        <h4>功能说明</h4>
        <p class='about text-info'>分配线索</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/clues/assign</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>clue_ids:</td>
          
            <td>Array</td>
          

          <td>
            线索列表

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>assign_user_id:</td>
          
            <td>Integer</td>
          

          <td>
            指定用户id

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            删除成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-even'
          id='action-7e650eccfa2232dde40e8e31acec10d7-update_me'>

        <h4>功能说明</h4>
        <p class='about text-info'>更新线索</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/clues/update_me</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>id:</td>
          
            <td>Integer</td>
          

          <td>
            ID

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>clue[name]:</td>
          
            <td>String</td>
          

          <td>
            姓名

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>clue[mobile]:</td>
          
            <td>String</td>
          

          <td>
            手机号

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>clue[address]:</td>
          
            <td>String</td>
          

          <td>
            地址

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>clue[pound]:</td>
          
            <td>Integer</td>
          

          <td>
            优先级

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            更新成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-7e650eccfa2232dde40e8e31acec10d7-add_remark'>

        <h4>功能说明</h4>
        <p class='about text-info'>备注</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/clues/add_remark</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>id:</td>
          
            <td>Integer</td>
          

          <td>
            ID

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>remark:</td>
          
            <td>String</td>
          

          <td>
            备注内容

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            更新成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-29e1471812ff9d60ff8484554bc45f8f'>
    <h2 class='controller-title'>客户管理</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-29e1471812ff9d60ff8484554bc45f8f-index'>

        <h4>功能说明</h4>
        <p class='about text-info'>客户列表</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/customers</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>page:</td>
          
            <td>Integer</td>
          

          <td>
            页码

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>per:</td>
          
            <td>Integer</td>
          

          <td>
            每页显示数

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>list:</td>
          
            <td>Hash</td>
          

          <td>
            customers_hash

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>total:</td>
          
            <td>Integer</td>
          

          <td>
            总数

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-29e1471812ff9d60ff8484554bc45f8f-update'>

        <h4>功能说明</h4>
        <p class='about text-info'>更新客户</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/customers/:id</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[name]:</td>
          
            <td>String</td>
          

          <td>
            姓名

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[tel]:</td>
          
            <td>String</td>
          

          <td>
            手机号

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[province]:</td>
          
            <td>String</td>
          

          <td>
            省

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[city]:</td>
          
            <td>String</td>
          

          <td>
            市

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[area]:</td>
          
            <td>String</td>
          

          <td>
            区

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[street]:</td>
          
            <td>String</td>
          

          <td>
            街道

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[address]:</td>
          
            <td>String</td>
          

          <td>
            地址

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[remark]:</td>
          
            <td>String</td>
          

          <td>
            备注

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            更新成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-even'
          id='action-29e1471812ff9d60ff8484554bc45f8f-create'>

        <h4>功能说明</h4>
        <p class='about text-info'>创建客户</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/customers</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[name]:</td>
          
            <td>String</td>
          

          <td>
            姓名

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[tel]:</td>
          
            <td>String</td>
          

          <td>
            手机号

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[province]:</td>
          
            <td>String</td>
          

          <td>
            省

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[city]:</td>
          
            <td>String</td>
          

          <td>
            市

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[area]:</td>
          
            <td>String</td>
          

          <td>
            区

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[street]:</td>
          
            <td>String</td>
          

          <td>
            街道

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[address]:</td>
          
            <td>String</td>
          

          <td>
            地址

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[remark]:</td>
          
            <td>String</td>
          

          <td>
            备注

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            创建成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-adf7b3391e3f2801e71381e41dc39ae0'>
    <h2 class='controller-title'>订单管理</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-adf7b3391e3f2801e71381e41dc39ae0-index'>

        <h4>功能说明</h4>
        <p class='about text-info'>订单列表</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/orders</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>type:</td>
          
            <td>String</td>
          

          <td>
            children

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>category:</td>
          
            <td>String</td>
          

          <td>
            pre_completed|completed, default is all

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>q:</td>
          
            <td>String</td>
          

          <td>
            查询关键字

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>page:</td>
          
            <td>Integer</td>
          

          <td>
            页码

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>list:</td>
          
            <td>Hash</td>
          

          <td>
            orders list

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>total:</td>
          
            <td>Integer</td>
          

          <td>
            总数

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-adf7b3391e3f2801e71381e41dc39ae0-create'>

        <h4>功能说明</h4>
        <p class='about text-info'>订单创建／一键下单</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/orders</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>id:</td>
          
            <td>integer</td>
          

          <td>
            clue_id

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>order[expected_square]:</td>
          
            <td>String</td>
          

          <td>
            预估面积

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>order[total]:</td>
          
            <td>String</td>
          

          <td>
            预估价格

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>order[booking_date]:</td>
          
            <td>String</td>
          

          <td>
            预约测量时间

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>order[cgj_customer_service_id]:</td>
          
            <td>String</td>
          

          <td>
            指定测量师傅

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>order[measure_master]:</td>
          
            <td>String</td>
          

          <td>
            测量师傅名字

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>order[cgj_company_id]:</td>
          
            <td>Integer</td>
          

          <td>
            品牌商ID

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>order[material]:</td>
          
            <td>String</td>
          

          <td>
            材料名称

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>order[material_id]:</td>
          
            <td>Integer</td>
          

          <td>
            材料ID

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>order[introducer_name]:</td>
          
            <td>String</td>
          

          <td>
            介绍人姓名

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>order[introducer_tel]:</td>
          
            <td>String</td>
          

          <td>
            介绍人手机

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>order[region_id]:</td>
          
            <td>Integer</td>
          

          <td>
            所属渠道

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>order[estimated_total]:</td>
          
            <td>Float</td>
          

          <td>
            预估产品价格

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>order[store_id]:</td>
          
            <td>Integer</td>
          

          <td>
            所属门店

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>order[is_sync]:</td>
          
            <td>Boolean</td>
          

          <td>
            是否同步窗管家true|false

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[name]:</td>
          
            <td>String</td>
          

          <td>
            客户名称

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[tel]:</td>
          
            <td>String</td>
          

          <td>
            手机号

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[province]:</td>
          
            <td>String</td>
          

          <td>
            省

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[city]:</td>
          
            <td>String</td>
          

          <td>
            市

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[area]:</td>
          
            <td>String</td>
          

          <td>
            区

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[street]:</td>
          
            <td>String</td>
          

          <td>
            街道

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            创建成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-even'
          id='action-adf7b3391e3f2801e71381e41dc39ae0-update_estimated_total'>

        <h4>功能说明</h4>
        <p class='about text-info'>更新产品预估价格</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/orders/update_estimated_total</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>id:</td>
          
            <td>Integer</td>
          

          <td>
            ID

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>estimated_total:</td>
          
            <td>Float</td>
          

          <td>
            产品预估价

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            更新成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-adf7b3391e3f2801e71381e41dc39ae0-update_rebate'>

        <h4>功能说明</h4>
        <p class='about text-info'>更新返利点</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/orders/update_rebate</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>id:</td>
          
            <td>Integer</td>
          

          <td>
            ID

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>rebate:</td>
          
            <td>Float</td>
          

          <td>
            返利百分比

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            更新成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-even'
          id='action-adf7b3391e3f2801e71381e41dc39ae0-fetch_users'>

        <h4>功能说明</h4>
        <p class='about text-info'>搜索师傅</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/orders/fetch_users</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>keyword:</td>
          
            <td>String</td>
          

          <td>
            keyword

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-5e9fa7442c47382e6e582ddb75dcf502'>
    <h2 class='controller-title'>预备信息</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-5e9fa7442c47382e6e582ddb75dcf502-index'>

        <h4>功能说明</h4>
        <p class='about text-info'>获取</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/pres</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>stores_tree:</td>
          
            <td>Hash</td>
          

          <td>
            stores_tree

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>regions:</td>
          
            <td>Hash</td>
          

          <td>
            regions

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-ea2da9d64ef3f2c2ddc96b4422dd8b57'>
    <h2 class='controller-title'>渠道策略管理</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-ea2da9d64ef3f2c2ddc96b4422dd8b57-index'>

        <h4>功能说明</h4>
        <p class='about text-info'>渠道策略列表</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/regions/:region_id/region_strategies</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>page:</td>
          
            <td>Integer</td>
          

          <td>
            页码

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>per:</td>
          
            <td>Integer</td>
          

          <td>
            每页显示数

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>list:</td>
          
            <td>Hash</td>
          

          <td>
            {{id, name, code, contact, phone, address}...}

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>total:</td>
          
            <td>Integer</td>
          

          <td>
            总数

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-ea2da9d64ef3f2c2ddc96b4422dd8b57-update'>

        <h4>功能说明</h4>
        <p class='about text-info'>创建渠道策略</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/regions/:region_id/region_strategies/:id</p>

        <h4>请求方法</h4>
        <p class='about text-info'>PATCH</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>region_strategy[store_rate]:</td>
          
            <td>String</td>
          

          <td>
            店长提成百分比

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>region_strategy[plan_rate]:</td>
          
            <td>String</td>
          

          <td>
            企划提成百分比

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            创建成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-even'
          id='action-ea2da9d64ef3f2c2ddc96b4422dd8b57-create'>

        <h4>功能说明</h4>
        <p class='about text-info'>创建渠道策略</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/regions/:region_id/region_strategies</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>region_strategy[store_rate]:</td>
          
            <td>String</td>
          

          <td>
            店长提成百分比

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>region_strategy[plan_rate]:</td>
          
            <td>String</td>
          

          <td>
            企划提成百分比

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            创建成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-11af31b61175d583c69cda9883524080'>
    <h2 class='controller-title'>渠道管理</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-11af31b61175d583c69cda9883524080-index'>

        <h4>功能说明</h4>
        <p class='about text-info'>渠道列表</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/regions</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>page:</td>
          
            <td>Integer</td>
          

          <td>
            页码

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>per:</td>
          
            <td>Integer</td>
          

          <td>
            每页显示数

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>list:</td>
          
            <td>Hash</td>
          

          <td>
            {{id, name, user_name, user_mobile}...}

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>total:</td>
          
            <td>Integer</td>
          

          <td>
            总数

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-11af31b61175d583c69cda9883524080-create'>

        <h4>功能说明</h4>
        <p class='about text-info'>添加新渠道</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/regions</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>region_name:</td>
          
            <td>String</td>
          

          <td>
            渠道名称

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>admin[name]:</td>
          
            <td>String</td>
          

          <td>
            渠道负责人名称

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>admin[mobile]:</td>
          
            <td>String</td>
          

          <td>
            渠道负责人手机号

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            创健成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-4e716da1e41370f7fe481b49b6449058'>
    <h2 class='controller-title'>注册</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-4e716da1e41370f7fe481b49b6449058-create'>

        <h4>功能说明</h4>
        <p class='about text-info'>说明</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/registrations</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>account[name]:</td>
          
            <td>String</td>
          

          <td>
            企业名称

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>account[type]:</td>
          
            <td>String</td>
          

          <td>
            企业类型(Account|Dealer)

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>user[name]:</td>
          
            <td>String</td>
          

          <td>
            用户姓名

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>user[mobile]:</td>
          
            <td>String</td>
          

          <td>
            用户手机

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>user[password]:</td>
          
            <td>String</td>
          

          <td>
            用户密码

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>valid_code:</td>
          
            <td>String</td>
          

          <td>
            注册码证码

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            您已成功注册，请登录

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            user.errors | account.errors

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-64ca335c0226a2cfe5938392f56efb13'>
    <h2 class='controller-title'>登录</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-64ca335c0226a2cfe5938392f56efb13-create'>

        <h4>功能说明</h4>
        <p class='about text-info'>说明</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/sessions</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>login:</td>
          
            <td>String</td>
          

          <td>
            用户手机

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>password:</td>
          
            <td>String</td>
          

          <td>
            用户密码

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>open_id:</td>
          
            <td>String</td>
          

          <td>
            wechat_open_id

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>wx_access_token:</td>
          
            <td>String</td>
          

          <td>
            wechat_access_token

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>current_user:</td>
          
            <td>Hash</td>
          

          <td>
            current_user infos

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            请输入正确的手机号跟密码

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-06b3fe9b6ba3aacd8bbf16d1d5ddb91a'>
    <h2 class='controller-title'>门店管理</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-06b3fe9b6ba3aacd8bbf16d1d5ddb91a-index'>

        <h4>功能说明</h4>
        <p class='about text-info'>门店列表</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/regions/:region_id/stores</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>page:</td>
          
            <td>Integer</td>
          

          <td>
            页码

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>per:</td>
          
            <td>Integer</td>
          

          <td>
            每页显示数

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>list:</td>
          
            <td>Hash</td>
          

          <td>
            {{id, name, code, contact, phone, address}...}

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>total:</td>
          
            <td>Integer</td>
          

          <td>
            总数

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-06b3fe9b6ba3aacd8bbf16d1d5ddb91a-create'>

        <h4>功能说明</h4>
        <p class='about text-info'>创建门店</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/regions/:region_id/stores</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>store[name]:</td>
          
            <td>String</td>
          

          <td>
            门店名称

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>admin[name]:</td>
          
            <td>String</td>
          

          <td>
            店长姓名

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>admin[mobile]:</td>
          
            <td>String</td>
          

          <td>
            店长手机号

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>store[address]:</td>
          
            <td>String</td>
          

          <td>
            地址

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            创建成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-9daca15881416fa59b7f794f1c4a0bf5'>
    <h2 class='controller-title'>策略管理</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-9daca15881416fa59b7f794f1c4a0bf5-index'>

        <h4>功能说明</h4>
        <p class='about text-info'>策略列表</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/strategies</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>page:</td>
          
            <td>Integer</td>
          

          <td>
            页码

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>list:</td>
          
            <td>Hash</td>
          

          <td>
            {{name, mobile, role}...}

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>total:</td>
          
            <td>Integer</td>
          

          <td>
            总数

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-9daca15881416fa59b7f794f1c4a0bf5-update'>

        <h4>功能说明</h4>
        <p class='about text-info'>更新策略</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/strategies/:id</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy[title]:</td>
          
            <td>String</td>
          

          <td>
            主题

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy[start_at]:</td>
          
            <td>DateTime</td>
          

          <td>
            开始时间

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy[end_at]:</td>
          
            <td>DateTime</td>
          

          <td>
            结束时间

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy[rate]:</td>
          
            <td>Float</td>
          

          <td>
            提成

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy[discount]:</td>
          
            <td>Float</td>
          

          <td>
            折扣

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy[rebate]:</td>
          
            <td>Float</td>
          

          <td>
            返利

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            更新成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            strategy.errors

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-even'
          id='action-9daca15881416fa59b7f794f1c4a0bf5-create'>

        <h4>功能说明</h4>
        <p class='about text-info'>创建策略</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/strategies</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy[title]:</td>
          
            <td>String</td>
          

          <td>
            主题

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy[start_at]:</td>
          
            <td>DateTime</td>
          

          <td>
            开始时间

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy[end_at]:</td>
          
            <td>DateTime</td>
          

          <td>
            结束时间

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy[province]:</td>
          
            <td>String</td>
          

          <td>
            省

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy[city]:</td>
          
            <td>String</td>
          

          <td>
            市

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy[area]:</td>
          
            <td>String</td>
          

          <td>
            区

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy[region_id]:</td>
          
            <td>Integer</td>
          

          <td>
            渠道

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy[rate]:</td>
          
            <td>Float</td>
          

          <td>
            提成

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy[discount]:</td>
          
            <td>Float</td>
          

          <td>
            折扣

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy[rebate]:</td>
          
            <td>Float</td>
          

          <td>
            返利

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy[pound]:</td>
          
            <td>Integer</td>
          

          <td>
            镑值

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            创建成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            strategy.errors

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-9daca15881416fa59b7f794f1c4a0bf5-show'>

        <h4>功能说明</h4>
        <p class='about text-info'>查看单个策略</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/strategies/:id</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy:</td>
          
            <td>Hash</td>
          

          <td>
            strategy_hash

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            strategy.errors

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-6b342322163d86b4208fd7448a6994ab'>
    <h2 class='controller-title'>财务管理</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-6b342322163d86b4208fd7448a6994ab-index'>

        <h4>功能说明</h4>
        <p class='about text-info'>提成列表</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/strategy_results</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>state:</td>
          
            <td>String</td>
          

          <td>
            false

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>page:</td>
          
            <td>Integer</td>
          

          <td>
            页码

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>list:</td>
          
            <td>Hash</td>
          

          <td>
            strategyresults list

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>total:</td>
          
            <td>Integer</td>
          

          <td>
            总数

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-6b342322163d86b4208fd7448a6994ab-update'>

        <h4>功能说明</h4>
        <p class='about text-info'>更新提成</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/strategy_results/:id</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy_result[saler_rate_amount]:</td>
          
            <td>Float</td>
          

          <td>
            销售提成

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy_result[saler_director_rate_amount]:</td>
          
            <td>Float</td>
          

          <td>
            销售主管提成

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy_result[introducer_rebate_amount]:</td>
          
            <td>Float</td>
          

          <td>
            介绍人返利

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy_result[operator_amount]:</td>
          
            <td>Float</td>
          

          <td>
            运营提成

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy_result[cs_director_amount]:</td>
          
            <td>Float</td>
          

          <td>
            售后提成

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>strategy_result[planinger_director_amount]:</td>
          
            <td>Float</td>
          

          <td>
            企划提成

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            更新成功

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>sr:</td>
          
            <td>Hash</td>
          

          <td>
            strategy_result_hash

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-even'
          id='action-6b342322163d86b4208fd7448a6994ab-show'>

        <h4>功能说明</h4>
        <p class='about text-info'>单个提成详情</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/strategy_results/:id</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>id:</td>
          
            <td>Integer</td>
          

          <td>
            ID

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-6b342322163d86b4208fd7448a6994ab-pay'>

        <h4>功能说明</h4>
        <p class='about text-info'>付款</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/strategy_results/:id/pay</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            付款成功

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>sr:</td>
          
            <td>Hash</td>
          

          <td>
            strategy_result_hash

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-23a5cccbab75147cd0c13b63d67c5a28'>
    <h2 class='controller-title'>投诉 反馈</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-23a5cccbab75147cd0c13b63d67c5a28-create'>

        <h4>功能说明</h4>
        <p class='about text-info'>新建</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/suggestions</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>suggestion[_type]:</td>
          
            <td>Integer</td>
          

          <td>
            1反馈，2投诉, default is 1

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>suggestion[content]:</td>
          
            <td>String</td>
          

          <td>
            内容

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>suggestion[c_name]:</td>
          
            <td>String</td>
          

          <td>
            客户姓名

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>suggestion[c_tel]:</td>
          
            <td>String</td>
          

          <td>
            客户手机号

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            创建成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-90e2f856c66228f0d33fed3490cd9e31'>
    <h2 class='controller-title'>获取企业信息</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-90e2f856c66228f0d33fed3490cd9e31-update_cgj'>

        <h4>功能说明</h4>
        <p class='about text-info'>同步更新品牌 host: http://192.168.0.164:7200/</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/sync/accounts/update_cgj</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      <tr>
        <td>error</td>
        <td>String</td>
        <td>错误标识</td>
      </tr>

      <tr>
        <td>error_description</td>
        <td>String</td>
        <td>错误具体描述</td>
      </tr>
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      <tr>
        <td>error</td>
        <td>String</td>
        <td>错误标识</td>
      </tr>

      <tr>
        <td>error_description</td>
        <td>String</td>
        <td>错误具体描述</td>
      </tr>
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      <tr>
        <td>error</td>
        <td>String</td>
        <td>错误标识</td>
      </tr>

      <tr>
        <td>error_description</td>
        <td>String</td>
        <td>错误具体描述</td>
      </tr>
    
  </tbody>
</table>


        
          
          
          
          
          <h4>同步更新品牌 host</h4>
          
            <p>
              
                 http://192.168.0.164:7200/
              
            </p>
          
        
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-90e2f856c66228f0d33fed3490cd9e31-gen_account_user'>

        <h4>功能说明</h4>
        <p class='about text-info'>生成企业用户</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/sync/accounts/gen_account_user</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>actoken:</td>
          
            <td>String</td>
          

          <td>
            *account code

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>user[name]:</td>
          
            <td>String</td>
          

          <td>
            *用户姓名

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>user[mobile]:</td>
          
            <td>String</td>
          

          <td>
            *用户手机号

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>user[role]:</td>
          
            <td>String</td>
          

          <td>
            *用户角色(saler_director|saler|cs|acct)

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>user[director_id]:</td>
          
            <td>Integer</td>
          

          <td>
            主管

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>user[password]:</td>
          
            <td>String</td>
          

          <td>
            *用户密码

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            创建成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-563d65cf6d46747a8933737a6d260c19'>
    <h2 class='controller-title'>客户同步</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-563d65cf6d46747a8933737a6d260c19-create'>

        <h4>功能说明</h4>
        <p class='about text-info'>创建客户 host: http://192.168.0.164:7200/</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/sync/customers</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>actoken:</td>
          
            <td>String</td>
          

          <td>
            *account code

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[name]:</td>
          
            <td>String</td>
          

          <td>
            *姓名

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[tel]:</td>
          
            <td>String</td>
          

          <td>
            *手机号

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[province]:</td>
          
            <td>String</td>
          

          <td>
            省

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[city]:</td>
          
            <td>String</td>
          

          <td>
            市

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[area]:</td>
          
            <td>String</td>
          

          <td>
            区

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[street]:</td>
          
            <td>String</td>
          

          <td>
            街道

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[address]:</td>
          
            <td>String</td>
          

          <td>
            地址

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>customer[remark]:</td>
          
            <td>String</td>
          

          <td>
            备注

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            创建成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          <h4>创建客户 host</h4>
          
            <p>
              
                 http://192.168.0.164:7200/
              
            </p>
          
        
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-ad1b417c30ed8f8bfc011497fe998b33'>
    <h2 class='controller-title'>订单同步</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-ad1b417c30ed8f8bfc011497fe998b33-update_cgj'>

        <h4>功能说明</h4>
        <p class='about text-info'>同步更新 host: http://192.168.0.164:7200/</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/sync/orders/update_cgj</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      <tr>
        <td>error</td>
        <td>String</td>
        <td>错误标识</td>
      </tr>

      <tr>
        <td>error_description</td>
        <td>String</td>
        <td>错误具体描述</td>
      </tr>
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      <tr>
        <td>error</td>
        <td>String</td>
        <td>错误标识</td>
      </tr>

      <tr>
        <td>error_description</td>
        <td>String</td>
        <td>错误具体描述</td>
      </tr>
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      <tr>
        <td>error</td>
        <td>String</td>
        <td>错误标识</td>
      </tr>

      <tr>
        <td>error_description</td>
        <td>String</td>
        <td>错误具体描述</td>
      </tr>
    
  </tbody>
</table>


        
          
          
          
          
          <h4>同步更新 host</h4>
          
            <p>
              
                 http://192.168.0.164:7200/
              
            </p>
          
        
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-edd0ba4c04c9ea27e2411f5b53cc0d95'>
    <h2 class='controller-title'>用户管理</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-edd0ba4c04c9ea27e2411f5b53cc0d95-index'>

        <h4>功能说明</h4>
        <p class='about text-info'>用户列表</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/users</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>page:</td>
          
            <td>Integer</td>
          

          <td>
            页码

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>list:</td>
          
            <td>Hash</td>
          

          <td>
            {{name, mobile, role}...}

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>total:</td>
          
            <td>Integer</td>
          

          <td>
            总数

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-edd0ba4c04c9ea27e2411f5b53cc0d95-update'>

        <h4>功能说明</h4>
        <p class='about text-info'>用户更新</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/users/:id</p>

        <h4>请求方法</h4>
        <p class='about text-info'>PATCH</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>user[name]:</td>
          
            <td>String</td>
          

          <td>
            用户姓名

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>user[mobile]:</td>
          
            <td>String</td>
          

          <td>
            用户手机号

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>user[role]:</td>
          
            <td>String</td>
          

          <td>
            用户角色(saler_director|saler|cs|acct)

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>user[director_id]:</td>
          
            <td>Integer</td>
          

          <td>
            主管

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            更新成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-even'
          id='action-edd0ba4c04c9ea27e2411f5b53cc0d95-create'>

        <h4>功能说明</h4>
        <p class='about text-info'>用户创建</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/users</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>user[name]:</td>
          
            <td>String</td>
          

          <td>
            用户姓名

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>user[mobile]:</td>
          
            <td>String</td>
          

          <td>
            用户手机号

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>user[role]:</td>
          
            <td>String</td>
          

          <td>
            用户角色(saler_director|saler|cs|acct)

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>user[director_id]:</td>
          
            <td>Integer</td>
          

          <td>
            主管

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            创建成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-edd0ba4c04c9ea27e2411f5b53cc0d95-statistics'>

        <h4>功能说明</h4>
        <p class='about text-info'>订单统计</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/users/statistics</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-even'
          id='action-edd0ba4c04c9ea27e2411f5b53cc0d95-destroy'>

        <h4>功能说明</h4>
        <p class='about text-info'>用户删除</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/users/:id</p>

        <h4>请求方法</h4>
        <p class='about text-info'>DELETE</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            删除成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-edd0ba4c04c9ea27e2411f5b53cc0d95-update_me'>

        <h4>功能说明</h4>
        <p class='about text-info'>更新我的基本资料</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/users/update_me</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>user[name]:</td>
          
            <td>String</td>
          

          <td>
            姓名

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>user[avatar]:</td>
          
            <td>String</td>
          

          <td>
            头像

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            更新成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-even'
          id='action-edd0ba4c04c9ea27e2411f5b53cc0d95-update_password'>

        <h4>功能说明</h4>
        <p class='about text-info'>更新密码</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/users/update_password</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>old_password:</td>
          
            <td>String</td>
          

          <td>
            旧密码

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>new_password:</td>
          
            <td>String</td>
          

          <td>
            新密码

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            更新成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-edd0ba4c04c9ea27e2411f5b53cc0d95-reset_password'>

        <h4>功能说明</h4>
        <p class='about text-info'>重置密码</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/users/reset_password</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>mobile:</td>
          
            <td>String</td>
          

          <td>
            手机号

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>code:</td>
          
            <td>String</td>
          

          <td>
            验证码

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>new_password:</td>
          
            <td>String</td>
          

          <td>
            新密码

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>confirm_new_password:</td>
          
            <td>String</td>
          

          <td>
            再次输入

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            更新成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-even'
          id='action-edd0ba4c04c9ea27e2411f5b53cc0d95-bank_cards'>

        <h4>功能说明</h4>
        <p class='about text-info'>我的银行卡列表</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/users/bank_cards</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>list:</td>
          
            <td>hash</td>
          

          <td>
            成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-edd0ba4c04c9ea27e2411f5b53cc0d95-add_bank_card'>

        <h4>功能说明</h4>
        <p class='about text-info'>添加银行卡</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/users/add_bank_card</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>bank_card[code]:</td>
          
            <td>String</td>
          

          <td>
            银行卡号

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>bank_card[account]:</td>
          
            <td>String</td>
          

          <td>
            开户行

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>bank_card[branch]:</td>
          
            <td>String</td>
          

          <td>
            支行

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>bank_card[name]:</td>
          
            <td>String</td>
          

          <td>
            开户人

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            添加成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-even'
          id='action-edd0ba4c04c9ea27e2411f5b53cc0d95-update_bank_card'>

        <h4>功能说明</h4>
        <p class='about text-info'>更新银行卡</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/users/update_bank_card</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>id:</td>
          
            <td>Integer</td>
          

          <td>
            银行卡ID

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>bank_card[code]:</td>
          
            <td>String</td>
          

          <td>
            银行卡号

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>bank_card[account]:</td>
          
            <td>String</td>
          

          <td>
            开户行

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>bank_card[branch]:</td>
          
            <td>String</td>
          

          <td>
            支行

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>bank_card[name]:</td>
          
            <td>String</td>
          

          <td>
            开户人

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            更新成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-edd0ba4c04c9ea27e2411f5b53cc0d95-update_me_wx'>

        <h4>功能说明</h4>
        <p class='about text-info'>小程序更新我的基本资料</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/users/update_me_wx</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>name:</td>
          
            <td>String</td>
          

          <td>
            姓名

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>avatar:</td>
          
            <td>String</td>
          

          <td>
            头像

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            更新成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-f429bda61462e0a236819d3f9bfaff90'>
    <h2 class='controller-title'>验证码</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-f429bda61462e0a236819d3f9bfaff90-create'>

        <h4>功能说明</h4>
        <p class='about text-info'>获取</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/valid_codes</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>mobile:</td>
          
            <td>String</td>
          

          <td>
            手机号

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>type:</td>
          
            <td>Integer</td>
          

          <td>
            1注册|2密码重置，default 1

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            已发送到您手机，请验证

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-f429bda61462e0a236819d3f9bfaff90-valid'>

        <h4>功能说明</h4>
        <p class='about text-info'>验证</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/valid_codes/valid</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>mobile:</td>
          
            <td>String</td>
          

          <td>
            手机号

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>code:</td>
          
            <td>String</td>
          

          <td>
            验证码

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            验证成功

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>msg:</td>
          
            <td>String</td>
          

          <td>
            msg_infos

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-4b8cc15bbc50cbfc1a163c20231e6c56'>
    <h2 class='controller-title'>钱包</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-4b8cc15bbc50cbfc1a163c20231e6c56-me'>

        <h4>功能说明</h4>
        <p class='about text-info'>我的钱包</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/wallets/me</p>

        <h4>请求方法</h4>
        <p class='about text-info'>GET</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>page:</td>
          
            <td>Integer</td>
          

          <td>
            页码

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-odd'
          id='action-4b8cc15bbc50cbfc1a163c20231e6c56-recharge'>

        <h4>功能说明</h4>
        <p class='about text-info'>充值</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/wallets/recharge</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>amount:</td>
          
            <td>Integer</td>
          

          <td>
            金额

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>trade_type:</td>
          
            <td>String</td>
          

          <td>
            支付方式 wx_pub|alipay_pc_direct

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    
      

      <div class='action action-even'
          id='action-4b8cc15bbc50cbfc1a163c20231e6c56-withdraw'>

        <h4>功能说明</h4>
        <p class='about text-info'>提现</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/wallets/withdraw</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>access_token:</td>
          
            <td>String</td>
          

          <td>
            authenication_token

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>amount:</td>
          
            <td>Integer</td>
          

          <td>
            金额

            
          </td>

        </tr>
      
        
          
        

        <tr>
          
            <td>bank_card_id:</td>
          
            <td>Integer</td>
          

          <td>
            银行卡

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            success

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>

  <div class='controller' id='controller-8048d0a47743742dc33f83d16352ecbf'>
    <h2 class='controller-title'>微信</h2>

    <div class='action'>
      
        
    </div>
    <hr />

    
      

      <div class='action action-even'
          id='action-8048d0a47743742dc33f83d16352ecbf-auth'>

        <h4>功能说明</h4>
        <p class='about text-info'>授权</p>

        <h4>请求地址</h4>
        <p class='about text-info'>/api/wechat/auth</p>

        <h4>请求方法</h4>
        <p class='about text-info'>POST</p>

        <h4>参数说明</h4>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>code:</td>
          
            <td>String</td>
          

          <td>
            code

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        <h4>正常返回信息</h4>
        <p class='about text-info'>正常完成时response.status 为 200.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      <tr>
        <td>error</td>
        <td>String</td>
        <td>错误标识</td>
      </tr>

      <tr>
        <td>error_description</td>
        <td>String</td>
        <td>错误具体描述</td>
      </tr>
    
  </tbody>
</table>


        <h4>出错误时信息</h4>
        <p class='about text-info'>出错时response.status 为 400.</p>
        
<table class='table table-bordered table-striped'>
  <thead>
    <th>参数名</th>
    <th>参数类型</th>
    <th>描述</th>
  </thead>

  <tbody>
    
      
        
          
        

        <tr>
          
            <td>status:</td>
          
            <td>String</td>
          

          <td>
            failed

            
          </td>

        </tr>
      
    
  </tbody>
</table>


        
          
          
          
          
          
          
          
          <h4>Level</h4>
          
            <p>
              
                
              
            </p>
          
        
          
        <br /><hr />
      </div>
    

  </div>


  </body>
</html>
